package day02;

public class IntDemo {
    public static void main(String[] args){
        int a1;
        //int a2=10000000000;超出范围，编译错误
        int a3 = 2147483647;
        a3 = a3 + 1;
        System.out.println(a3);//溢出
        //int a4 = 3.14;编译错误

        System.out.println(5/2);
        System.out.println(2/5);
        System.out.println(5.0/2);

    }
}
